import {apiGet,apiPost} from '../request.js'

// 初始化文件
export const init = (params) => apiPost("/v1/upload/init",params);

// 上传分片
export const chunk = (params) => apiPost("/v1/upload/chunk",params);

// 合并文件
export const merge = (params) => apiPost("/v1/upload/merge",params);

// 查询文件上传状态
export const status = (params) => apiPost(`/v1/upload/status/${params}`,);